package com.example.javabasic.thread.classtwo.activeobject.demo1;

//对应activeOjbect的每一个方法/主动对象
public abstract class MethodRequest {
    protected final Servant servant;
    protected final FutureResult futureResult;
    public abstract void execute();

    public MethodRequest(Servant servant, FutureResult futureResult) {
        this.servant = servant;
        this.futureResult = futureResult;
    }
}
